﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace P2PLib.Client.DataModel
{
    [Serializable]
    public class LocalFileInfo
    {
        private CFileInfo cFile;
        private string path;
        private DateTime lastModified;

        public CFileInfo CFile
        {
            get
            {
                return cFile;
            }
            set
            {
                cFile = value;
            }
        }

        public string Path
        {
            get
            {
                return path;
            }
            set
            {
                this.path = value;
            }
        }
        public DateTime LastModified
        {
            get
            {
                return lastModified;
            }
            set
            {
                this.lastModified = value;
            }
        }

        public LocalFileInfo(CFileInfo cFile, string path, DateTime lastModified)
        {
            this.cFile = cFile;
            this.path = path;
            this.lastModified = lastModified;
        }

        public LocalFileInfo()
        {
        }
    }
}
